/*
 * Created: 2022-08-25 19:13:09
 * Author : 涛涛涛
 */

import React from 'react';
import { View, Text, Image } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import Avatar from './Avatar/Avatar';
import Description from './Description/Description';
export interface IProps extends ICompProps {}
AutherInfo.defaultProps = {} as Partial<IProps>;
function AutherInfo(props: IProps) {
    const { className, style } = props;
    const localClassName = useClassName('AutherInfo', className);
    return (
        <RootView className={localClassName} style={style}>
            <Avatar></Avatar>
            <Description></Description>
        </RootView>
    );
}
export default React.memo(AutherInfo);
const RootView = styled(View)`
    &.AutherInfo {
        display: flex;
        align-items: center;
    }
`;
